define(['app'], function(app) {
	'use strict';

	//实例化方法
	var factory = function(Http) {
		function get_data_aboutWe(result) {
			if(false) {
				result = '{"success": true,"msg": "","result": {"text": "知识产权声明"},"session": "7311da98bd0f18eb15a96bcb263f4153"}';
				return JSON.parse(result);
			} else {
				return result;
			}
		}
		//返回信息
		return {
			//关于我们
			about_we: function(type,callback) {
				//post请求
				Http.post({
					method: 'member.feedback.getappinfo',
					type: type
				}, function(result) {
					//函数回调
					if(callback)
						callback(get_data_aboutWe(result).result);

				}, function(e) {

				}, function() {

				});
			},
		};
	}

	factory.$inject = ['Http'];
	return app.registerService("T_about", factory);
});